package com.mvc.service;

import com.mvc.model.CDKey;
import com.mvc.request.ReqCDKeyAdd;
import com.mvc.request.ReqCDKeyDelete;
import com.mvc.request.ReqCDKeyPage;
import com.mvc.request.ReqCDKeyQPage;
import com.mvc.request.ReturnData;
import com.mvc.response.RspPage;

/***
 * 游戏激活码
 * @author Swer
 *
 */
public interface CDKeyService
{

	ReturnData<RspPage<CDKey>> queryPage(ReqCDKeyPage req);

	ReturnData<Boolean> add(ReqCDKeyAdd req);
	
	ReturnData<Boolean> delete(ReqCDKeyDelete req);
	
	ReturnData<CDKey> queryObject(ReqCDKeyQPage req);
}
